﻿using System;

/*
 *Write a program that finds the 
 *biggest of three integers using nested if statements.
 */

class FindBiggestOf3Integers
{
    static void Main(string[] args)
    {
        int a = 6;
        int b = 6;
        int c = 6;
        Console.WriteLine("Initial Values: a = {0} , b = {1}, c = {2}.", a, b,c);

        int highestValue;
        if (a > b)
        {
            if (a > c)
            {
                highestValue = a;
            }
            else
            {
                highestValue = c;
            }
        }
        else
        {
            if (b > c)
            {
                highestValue = b;
            }
            else
            {
                highestValue = c;
            }
        }

        Console.WriteLine("Highest Value: {0}", highestValue);
    }
}

